<?php
$host = 'localhost';
$username = 'root';
$password = '123456';
$dbname = 'brandreply';
$conn = mysql_connect($host, $username, $password);
if (!$conn) {
    echo "Unable to connect to DB: " . mysql_error();
    exit;
}

mysql_set_charset('utf8', $conn);
if (!mysql_select_db($dbname)) {
    echo "Unable to select mydbname: " . mysql_error();
    exit;
}

